package com.csun.cmny.mqtt.constant;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-15 11:25
 * @Description:
 */
public class MqttMsgConstants {

    /**
     * 设备数据上传
     */
    public static final String INVITE_UPLOAD = "InviteUpload";

    /**
     * 设备开关机授权
     */
    public static final String INVITE_VALID = "InviteValid";

    /**
     * 设备开关机
     */
    public static final String INVITE_OPEN = "InviteOpen";

    /**
     * 设备开关机授权&开关机
     */
    public static final String INVITE_VALID_OPEN = "InviteValidOpen";

    /**
     * 设备报警上传
     */
    public static final String INVITE_ALERT = "InviteAlert";

    /**
     * 设备掉线
     */
    public static final String INVITE_CLOSE = "InviteClose";

    /**
     * 设备数据刷新
     */
    public final static String INVITE_DATA = "InviteData";

    /**
     * 设备心跳
     */
    public final static String INVITE_HEAT = "InviteHeat";

    /**
     * 报警器登录
     */
    public final static String PHONE_LOGIN = "PhoneLogin";

    /**
     * 报警器事件
     */
    public final static String PHONE_EVENT = "PhoneEvent";

    /**
     * 报警器心跳
     */
    public final static String PHONE_HEAT = "PhoneHeat";

    /**
     * 报警器指令
     */
    public final static String PHONE_CMD = "PhoneCmd";

    /**
     * 报警器掉线
     */
    public final static String PHONE_CLOSE = "PhoneClose";

    /**
     * 小牛动力实时数据
     */
    public final static String ACTUAL_DATA = "actual_data";

    /**
     * 小牛动力配置数据
     */
    public final static String CONFIG_DATA = "config_data";

    /**
     * 小牛动力远程控制
     */
    public final static String CTRL_DATA = "ctrl_data";

    /**
     * 小牛动力报警-故障信息
     */
    public final static String WARN_ERR = "warn_err";

    /**
     * 小牛动力位置信息
     */
    public final static String LOCATION = "location";

    /**
     * 网关 - 紧急按钮
     */
    public static final String GATAWAY_BTN_MSG = "buttonMsg";

    /**
     * 网关 - 人体感应
     */
    public static final String GATEWAY_BODY_MSG = "bodySensorMsg";

    /**
     * 网关 - 人体感应 - 电量
     */
    public static final String GATEWAY_BODY_ADC_MSG = "adcPower";

    /**
     * 自研床垫 - 是否在床
     */
    public static final String SLEEP_BED_MSG = "bedMsg";

    /**
     * 自研床垫 - 实时数据
     */
    public static final String SLEEP_BASIC_MSG = "basicMsg";

    /**
     * 自研床垫 - 睡眠数据
     */
    public static final String SLEEP_MSG = "sleepMsg";

    /**
     * 自研床垫 - 报警信息
     */
    public static final String SLEEP_ALARM_MSG = "alarmMsg";

    /**
     * 自研床垫 - 获取版本信息
     */
    public static final String SLEEP_CUR_VER_MSG = "curVerMsg";


    /**
     * 自研床垫 - 下发版本信息
     */
    public static final String SLEEP_UDT_VER_MSG = "updateVerMsg";

    /**
     * 设备log
     */
    public static final String LOG_MSG = "logMsg";

    /**
     * 网关 - 温湿度传感器消息
     */
    public static final String GATEWAY_HUMIDISTAT_MSG = "humidistatMsg";

    /**
     * 网关 - 人感绑定消息
     */
    public static final String GATEWAY_BODY_SENSOR_BIND_MSG = "bodySensorBindMsg";

    /**
     * 网关 - 人感绑定确认消息
     */
    public static final String GATEWAY_BODY_SENSOR_BIND_ACK_MSG = "bodySensorBindAckMsg";

    /**
     * 网关 - 人感时间设置确认消息
     */
    public static final String GATEWAY_BODY_SENSOR_SET_TIME_MSG = "bodySensorTimerMsg";

    /**
     * 网关 - 人感时间设置确认消息
     */
    public static final String GATEWAY_BODY_SENSOR_SET_TIME_ACK_MSG = "bodySensorTimerAckMsg";

    /**
     * 网关 - 人感心跳消息
     */
    public static final String GATEWAY_BODY_SENSOR_INVITE_HEAT = "bodyInviteHeat";

    /**
     * 网关 - 人感触发消息
     */
    public static final String GATEWAY_BODY_SENSOR_TOUCH = "bodyTouchMsg";

    /**
     * 网关 - 温湿度绑定消息
     */
    public static final String GATEWAY_HUMIDISTAT_BIND_MSG = "humidistatBindMsg";

    /*
    * 网关 - 人感 检测厕所是否有人 in 在厕所，out，不在厕所
    * */
    public static final String GATEWAY_BODY_SENSOR_HOME_MSG = "bodysensorHomeMsg";

    /**
     * 网关 - 温湿度绑定确认消息
     */
    public static final String GATEWAY_HUMIDISTAT_BIND_ACK_MSG = "humidistatBindAckMsg";


    /**
     * 网关 - 按钮绑定消息
     */
    public static final String GATEWAY_BUTTON_BIND_MSG = "buttonBindMsg";


    /**
     * 网关 - 温湿度绑定消息
     */
    public static final String GATEWAY_BUTTON_BIND_ACK_MSG = "buttonBindAckMsg";

    /**
     * 网关 - 温湿度时间设置消息
     */
    public static final String GATEWAY_HUMIDISTAT_SET_TIME_MSG = "humidistatTimerMsg";

    /**
     * 网关 - 温湿度时间设置确认消息
     */
    public static final String GATEWAY_HUMIDISTAT_SET_TIME_ACK_MSG = "humidistatTimerAckMsg";

    /**
     * 网关/床垫 - 版本升级消息
     */
    public static final String MQTT_VERSION_UPDATE_MSG = "updateVerMsg";

    /**
     * 网关/床垫 - 版本升级确认消息
     */
    public static final String MQTT_VERSION_UPDATE_ACK_MSG = "updateVerAckMsg";

    /**
     * 网关/床垫 - 版本升级消息
     */
    public static final String MQTT_UPDATE_STATUS_MSG = "updateStatusMsg";

    /**
     * 网关/床垫 - 版本升级确认消息
     */
    public static final String MQTT_UPDATE_STATUS_ACK_MSG = "updateStatusAckMsg";

    /**
     * 床垫 - 采集数据消息
     */
    public static final String MQTT_SEND_DATA_MSG = "sendDataMsg";

    /**
     * 床垫 - 采集数据消息
     */
    public static final String MQTT_SEND_DATA_ACK_MSG = "sendDataAckMsg";

    /**
     * 床垫 - 采集数据消息
     */
    public static final String MQTT_DOOR_MSG = "doorMsg";

    /**
     * 布防
     */
    public final static String CMD_ARM = "1";

    /**
     * 撤防
     */
    public final static String CMD_DISARM = "2";

    /**
     * 启动警铃
     */
    public final static String CMD_ALARM = "6";

    /**
     * 关闭警铃
     */
    public final static String CMD_DISALARM = "7";

    /**
     * 授权
     */
    public static final String VALID_YES = "1";

    /**
     * 取消授权
     */
    public static final String VALID_NO = "2";

    /**
     * 开机
     */
    public static final String OPEN_YES = "1";

    /**
     * 关机
     */
    public static final String OPNE_NO = "2";

    /**
     * 设备离线
     */
    public static final String DEVICE_OFFLINE = "0";

    /**
     * 设备在线
     */
    public static final String DEVICE_ONLINE = "1";

    /**
     * 设备开关状态 - 关
     */
    public static final String SWITCH_OFF = "0";

    /**
     * 设备开关状态 - 开
     */
    public static final String SWITCH_ON = "1";

    /**
     * 状态值 - 正常
     */
    public static final String STATUS_NORMAL = "0";

    /**
     * 状态值 - 报警
     */
    public static final String STATUS_WARN = "1";

    /**
     * 状态值 - 故障
     */
    public static final String STATUS_ERR = "2";

    /**
     * 充电开关
     */
    public static final String SWITCH_CH = "1";

    /**
     * 放电开关
     */
    public static final String SWITCH_DISCH = "2";

    /**
     * 预充电开关
     */
    public static final String SWITCH_PRECH = "3";

    /**
     * 热管理开关
     */
    public static final String SWITCH_HEAT = "4";

}
